package com.xinghen.common.zookeeper.registry.exception;

/**
 * @author xinghen
 * @ClassName: RegException
 * @Package: com.xinghen.common.zookeeper.registry.exception
 * @Description 注册中心异常
 * @create 2018/4/12 15:21
 */
public final class RegException extends RuntimeException {

    public RegException(final String errorMessage, final Object... args) {
        super(String.format(errorMessage, args));
    }

    public RegException(final Exception cause) {
        super(cause);
    }
}
